package io.wdb.modules.generator.generator.service.operation;

import java.util.List;

import io.wdb.common.utils.Query;
import io.wdb.modules.generator.generator.entity.BookEntityEntity;
import io.wdb.modules.generator.generator.entity.customer.BookBorrowStatistics;
import io.wdb.modules.generator.generator.entity.customer.BookEntityCustomer;
import io.wdb.modules.generator.generator.entity.customer.OrderTransEntityCustomer;
import io.wdb.modules.generator.generator.entity.web.WebResponse;

public interface BookBorrowOperationService {

	List<OrderTransEntityCustomer> queryList(Query query);

	int queryTotal(Query query);

	WebResponse updateBorrowStatus(BookEntityCustomer bookEntityCustomer);

	WebResponse updateBookStatus(BookEntityEntity bookEntityEntity);

	List<OrderTransEntityCustomer> queryBorrowCount(Query query);

	BookBorrowStatistics bookBorrowStatistics(String rfidCode);

}
